From: Alex Kiernan Date: Sat, 7 Jul 2018 13:18:40 +0000 (+0000) Subject: switchroot: Fix typo in comment ENINVAL => EINVAL X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~21^2~9 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d6327f9dd9c4c787a5df46b339c1b0e045ec8134;p=ostree.git switchroot: Fix typo in comment ENINVAL => EINVAL Closes: #1676 Approved by: cgwalters --- diff --git a/src/switchroot/ostree-remount.c b/src/switchroot/ostree-remount.c index c3e39c0b..cd09fc15 100644 --- a/src/switchroot/ostree-remount.c +++ b/src/switchroot/ostree-remount.c @@ -94,7 +94,7 @@ main(int argc, char *argv[]) /* It's a mounted, read-only fs; remount it */ if (mount (target, target, NULL, MS_REMOUNT | MS_SILENT, NULL) < 0) { - /* Also ignore ENINVAL - if the target isn't a mountpoint + /* Also ignore EINVAL - if the target isn't a mountpoint * already, then assume things are OK. */ if (errno != EINVAL)